Optimization processes for compressing media content

ABSTRACT

Various embodiments relate generally to a system, a device and a method for optimizing processes for compressing media content. An uncompressed content item is received in a media content management system. One or more parameters associated with the uncompressed content item are determined. A plurality of variants of the uncompressed content item is generated using the one or more parameters, the plurality of variants including one or more compressed content items. A candidate set comprising at least one of the one or more compressed content items is determined from the plurality of variants based on one or more filtering factors. A validated compressed content item is selected from the candidate set based on one or more validation criteria, and the validated compressed content item is stored in a database in the media content management system.

FIELD

Various embodiments relate generally to electrical and electronichardware, computer software, wired and wireless network communications,and distributed software applications for enabling users to communicatewith each other through graphical, or pictorial, content. Morespecifically, a system and a method provide for optimizing a process ofcompressing media content items to implement, for example, animatedinputs in a dynamic interface.

BACKGROUND

Conventional techniques for communicating among people have evolved awayfrom mere pen-and-paper implementations as complex and creativemessaging have increasingly relied on technological solutions. With theadvent of computing devices, people communicate on the Internet in amultitude of ways through a multitude of platforms using a multitude ofdevices.

For example, some conventional approaches for communicating betweenusers of mobile devices may simply rely on SMS, messaging through asocial networking application, or “texting.” Internet or mobile deviceusers may exchange messages through these various mediums, for example.However, occasionally, users may wish to communicate via media content,such as GIFs (Graphics Interchange Format), or image files that includea static or animated set of images. Users may search the Internet forGIFs, manually download them through an operating system's native webbrowser, and upload the downloaded GIFs in a message through variousmessaging applications. These conventional systems are not well-suitedto present multiple images within a dynamic interface, includinganimated imagery or motion.

While conventional approaches are functional, the usual structuresand/or functionalities for presenting media content are not suited tothe increasing technological demands required to optimally shareexpressive content.

Thus, what is needed is a solution for effectively displaying mediacontent without the limitations of conventional techniques.

BRIEF DESCRIPTION OF THE DRAWINGS

Various embodiments or examples (“examples”) of the invention aredisclosed in the following detailed description and the accompanyingdrawings:

FIG. 1A is a high-level block diagram depicting a process of optimizingcompression of media content items in a media content management system,according to an embodiment;

FIG. 1B is a high-level block diagram depicting a process of performinga search to implement animated inputs in a dynamic interface usingcompressed media content items, according to an embodiment;

FIG. 2 is a network diagram of a system for optimizing processes forcompressing media content in a media content management system, showinga block diagram of the media content management system, according to anembodiment;

FIG. 3 is a high-level block diagram of a system for optimizingpreprocessing of media content in a media content management system,according to an embodiment;

FIG. 4 is a high-level block diagram of a system for optimizing encodingof media content in a media content management system, according to someexamples;

FIG. 5 is an example flowchart of a process for optimizing encoding ofmedia content in a media content management system, according to someexamples;

FIG. 6 is an example flowchart of a process for optimizing preprocessingof media content in a media content management system, according to someexamples; and

FIG. 7 illustrates an exemplary computing platform disposed in a deviceconfigured to optimize processes for compressing media content inaccordance with various embodiments.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is related to a U.S. Non-Provisional patent applicationSer. No. 15/043,612 (Atty. Docket No. RIF-001CIP1), filed Feb. 14, 2016,which is a continuation-in-part of U.S. Non-Provisional patentapplication Ser. No. 14/862,095 (Atty. Docket No. RIF-001) filed Sep.22, 2015, which is related to a U.S. Non-Provisional patent applicationSer. No. 14/862,111 (Atty. Docket No. RIF-002), filed Sep. 22, 2015,which is related to a U.S. Non-Provisional patent application Ser. No.14/862,114 (Atty. Docket No. RIF-003), filed Sep. 22, 2015. All of theabove-referenced properties are herein incorporated by reference intheir entirety for all purposes.

DETAILED DESCRIPTION

Various embodiments or examples may be implemented in numerous ways,including as a system, a process, an apparatus, a user interface, or aseries of program instructions on a computer readable medium such as acomputer readable storage medium or a computer network where the programinstructions are sent over optical, electronic, or wirelesscommunication links. In general, operations of disclosed processes maybe performed in an arbitrary order, unless otherwise provided in theclaims.

A detailed description of one or more examples is provided below alongwith accompanying figures. The detailed description is provided inconnection with such examples, but is not limited to any particularexample. The scope is limited only by the claims and numerousalternatives, modifications, and equivalents are encompassed. Numerousspecific details are set forth in the following description in order toprovide a thorough understanding. These details are provided for thepurpose of example and the described techniques may be practicedaccording to the claims without some or all of these specific details.For clarity, technical material that is known in the technical fieldsrelated to the examples has not been described in detail to avoidunnecessarily obscuring the description.

Communicating with other people in the Internet age has never beeneasier. People may communicate through various messaging platforms,including, but not limited to, SMS, iMessage, social networking systemssuch as FACEBOOK and TWITTER, as well as other messaging applicationslike SNAPCHAT, WECHAT, LINE, and so forth. While text messaging remainsthe predominate method of communication, more and more pictorialmessaging has emerged. Pictorial messaging, or sending messages thatinclude pictorial content, is just emerging as a method of conveyinginformation from one person to another. Pictorial content is usuallyoriginally formatted as a video file. Traditional compression techniquestransform a pictorial content item into an animated GIF (GraphicalInterchange Format) content item. However, these conventional methodsoften do not reduce the file size of the content item to enable fastloading of the GIFs in a mobile interface. Additionally, users havetraditionally used search engines and browsers to find the right GIFthat matches the messaging that the communicating user wishes to convey.This process is cumbersome and does not yield a great user experience.After browsing through the search results, the communicating user mustthen copy and paste the content item into the desired messaging platformon the user device. This process is burdensome and not optimized for theuser to quickly locate, download and message compressed content itemsthat match the user's expressive intent.

Other methods of procuring content involve highly manual procedures,such as copying and storing uncompressed video content in a user'spersonal mobile device or computer. These methods also do not facilitatecompressing content. Further, existing systems and methods do notprovide compressed content in a dynamic interface as animated inputs ona user device.

FIG. 1A is a high-level block diagram depicting a process of optimizingcompression of media content items in a media content management system100, according to some embodiments. The media content management system100 may receive an uncompressed content item 104 from a media contentsource 102. FIG. 1A and the other figures use like reference numerals toidentify like elements. A letter after a reference numeral, such as “108a,” indicates that the text refers specifically to the element havingthat particular reference numeral. A reference numeral in the textwithout a following letter, such as “108,” refers to any or all of theelements in the figures bearing that reference numeral (e.g., “108” inthe text may refer to reference numerals “108 a” and/or “108 b” in thefigures). Only one uncompressed content item 104 is illustrated in FIG.1A in order to simplify and clarify the description, though multipleuncompressed content items 104 may be received from a media contentsource 102. Parameter inputs 108 associated with an uncompressed contentitem 104 may be identified by a preprocessing module 106, in oneembodiment.

As mentioned above, uncompressed content items 104 may include varioustypes of content, such as animated GIFs (a series of images), a staticimage, an audio-visual content item/video, as well as composite contentitems, such as multiple animated GIFs and/or image content. AlthoughGIFs may go through traditional compression methods, they may remainuncompressed content items 104 as compared to the novel and innovativecompression methods described herein. Uncompressed content items 104 arereceived to the media content management system 100 and preprocessed ata preprocessing module 106. An uncompressed content item 104 may haveone or more parameters, such as noise, sharpness, smoothness,resolution, color fidelity and so forth. Parameters may be determined bya preprocessing module 106, in one embodiment. In one embodiment, apreprocessing module 106 may perform one or more processes to optimize acompression of a content item 104. In another embodiment, apreprocessing module 106 may identify the one or more parameters inputs108 for a content encoding optimization module 110. In a preprocessingmodule 106, an uncompressed content item 104 may be analyzed todetermine the one or more parameter inputs 108.

In one embodiment, a user of the media content management system 100may, through a user device, add content to a media content managementsystem 100. For example, a user may have installed an applicationextension onto the user device such that the user can “save” a contentitem found through browsing a web page using a browser on the userdevice. The application extension may, in one embodiment, include adownloadable application that enables a user to browse to a web page andcollect media content items presented on the web page. As an example, aweb page for a blog may post a particularly interesting content itemthat may or may not be available on the media content management system100. Using the application extension, the user may browse to the webpage, access a menu through the browser, and select an option to saveone or more content items that have been presented on the web page. Inone embodiment, the application extension is a mobile application thatenables mobile browsers to perform this functionality. In otherembodiments, the application extension may be a browser extensionapplication or applet that may be downloaded through the browser on amobile device or desktop computer. In a further embodiment, theapplication extension may enable users to directly upload content itemsto the media content management system 100.

Content items, presented on web pages or otherwise accessible throughweb servers, may be procured by administrators of the media contentmanagement system 100 in other ways, in an embodiment. For example,content owners, such as movie studios, television studios, brand owners,and other content generators, may partner with administrators of themedia content management system 100 such that licensed content may bedelivered to the media content management system 100. In such aprocurement process, content owners may provide uncompressed contentitems 104 having parameters, as mentioned above. A media content source102, such as a content owner, may include content stores or databases onservers maintained and operated by the third-party sources or websites,for example. As part of the procurement process, uncompressed contentitems 104 may be analyzed to determine the one or more parameter inputs108.

A content encoding optimization module 110 receives the content item 104and the parameter inputs 108 to encode the content item as a GIF, in oneembodiment. Using different values of the parameter inputs 108, acontent encoding optimization module 110 may generate multiplevariations of the content item 116. For example, if there are fiveparameter inputs 108, a five dimensional matrix may be generated inassociation with the content item 104, where the matrix includes uniquevalues associated with the parameter inputs 108. The number ofvariations of the content item 116 may be limited by a visual qualityvariance threshold 112 and/or a file size reduction factor 114. Forexample, a visual quality variance threshold 112 may include one or morevalues that enable comparison of a compressed content item and anuncompressed content item, such as sharpness, smoothness, colorfidelity, and noise quality. A threshold value may be predeterminedbased on the perceptibility of visual quality, as determined byadministrators of the media content management system 100. For example,a 5% change in smoothness may be imperceptible to most users of themedia content management system 100, but a 10% change in noise qualitymay be perceptible by humans.

A file size reduction factor 114 may include a threshold for file sizereduction. For example, if an uncompressed content item 104 is 50megabytes (MB) and after compression the content item's file size is 50kilobytes (KB), there has been a percentage reduction that can beexpressed as a value. The file size reduction factor 114 may include athreshold value for the reduction in size such that combinations ofparameters that do not yield at least that threshold value are thrownout. Using the file size reduction factor 114 and the visual qualityvariance threshold 112, the number of variations of the content item 116may be reduced. The candidate set of variations 116 may include 10compressed content items, for example. In one embodiment, a grid searchoptimization algorithm may be used by the content encoding optimizationmodule 110 to generate the candidate set of variations of the contentitem 116 using the file size reduction factor 114 and the visual qualityvariance threshold 112 against the parameter inputs 108.

The variations of the content item 116 are sent to a content validationmodule 118, in one embodiment. The content validation module 118 mayenable one or more administrators of the media content management system100 to manually select which of the variations of the content item 116to store in the media content store 122 as the validated compressedcontent item 120. In one embodiment, a user interface is presented tothe one or more administrators that renders the variations of thecontent item 116. In a further embodiment, the content validation module118 may use user feedback in selecting a validated compressed contentitem 120. The selected validated compressed content item 120 mayrepresent an optimal candidate item for various optimization algorithmsto use as a performance metric. In yet another embodiment, the contentvalidation module 118 may automatically select a validated compressedcontent item 120 from the candidate set variations of the content item116 based on a maximum file size reduction and a minimum visual qualityvariance as compared to the uncompressed content item 104. The minimumvisual quality variance may be a subjective threshold that is determinedas a result of training an optimization algorithm using the selectedvalidated compressed content item 120 as the optimal performance, in oneembodiment, using the administrators' and/or users' feedback. In oneembodiment, multiple files may be selected as validated compressedcontent items 120 to be stored in the media content store 122.

As illustrated in FIG. 1B, a dynamic keyboard user interface 132 may berendered on a user device through a dynamic keyboard application 130installed on the user device. The dynamic keyboard application 130 mayinstall a dynamic keyboard user interface 132 that enables a dynamickeyboard interface 128 to be accessed throughout the user device as athird-party keyboard. In this way, a messaging user using a messagingapplication 140, such as the APPLE IMES SAGE, SMS, texting, or othermessaging platform such as FACEBOOK MES SAGER, TWITTER, EMAIL, and thelike, may access the dynamic keyboard interface 128 from within themessaging application 140.

FIG. 1B is a high-level block diagram depicting a process of performingsearch to implement animated inputs in a dynamic interface usingcompressed media content items, in an embodiment. As further illustratedin FIG. 1B, compressed media content items, the validated compressedcontent items 120 are rendered in the dynamic keyboard interface 128through the dynamic keyboard user interface 132 communicating with thesearch interface module 124. In one embodiment, a set of collections maybe selected for display on the dynamic keyboard interface 128. Asillustrated in FIG. 1B, the dynamic keyboard interface 128 includes“#PLEASE,” “#HAPPY,” “#RUDE,” and a “#FACEPALM” collections. Althoughthe hashtag symbol (#′) is used in the examples included here, contentassociations do not necessarily need to start with a hashtag. Byselecting an animated key on the dynamic keyboard interface 128, thecollection of validated compressed content items 120 may be retrievedfrom the media content store 122 by the search interface module 124 andthen rendered by the dynamic keyboard user interface 132 in the dynamickeyboard interface 128. In this way, the searching user is searching themedia content management system 100 by using the selected contentassociation, such as “#HAPPY.” The retrieved collection of media contentitems 104 may be rendered within the dynamic keyboard interface 128.Because the “#HAPPY” collection may be updated and added to inreal-time, a searching user may be presented with different mediacontent items as new items are added to the collection. As mentionedabove, media content items may be preprocessed to reduce the file sizeof the content, thus enabling the media content items to be quicklyrendered on the dynamic keyboard interface 128.

A searching user may then select a compressed content item 126 from thedynamic keyboard interface 128 by touching or otherwise interacting withthe dynamic keyboard user interface 132. The selected compressed contentitem 144 may then be transmitted or pasted into the messaging userinterface 142 of the messaging application 140. In one embodiment, aselected compressed content item 144 is selected by clicking, tapping,or touching the dynamic keyboard interface 128 and holding the selectedmedia content item 144 to “copy” the content so that it can be “pasted”into the messaging application 140 through the messaging user interface142. This copy and paste method may take advantage of the operatingsystem of the user device, in one embodiment, such that the selectedcompressed content item 144 is not stored permanently onto the userdevice. In another embodiment, a searching user may search for mediacontent through a search field on the dynamic keyboard interface 128,described in the related applications mentioned above and incorporatedby reference. In this way, uncompressed content items 104 may becompressed on the media content management system 100 and then retrievedand shared as compressed content items 126 through any messagingplatform available on the user's device. Another benefit of the methodsand systems described herein is to provide multiple different animatedimages representing a communication concept, such as an emotion, areaction, an emoji depicting the communication concept, and so forth,such that the animated images may be loaded into a client device'smemory to effect rapid loading of animated images as “keys” of thedynamic keyboard interface as a group of keys shown, in animation,simultaneously. In at least some embodiments, a dynamic keyboardinterface 128 can be implemented as a GIF keyboard, as produced byRIFFSY, INC. of San Francisco, Calif.

System Architecture

FIG. 2 is a network diagram of a system for optimizing processes forcompressing media content in a media content management system, showinga block diagram of the media content management system, according to anembodiment. The system environment includes one or more user devices202, media content sources 102, third-party applications 206, the mediacontent management system 100, and a network 204. In alternativeconfigurations, different and/or additional modules can be included inthe system.

The user devices 202 may include one or more computing devices that canreceive user input and can transmit and receive data via the network204. In one embodiment, the user device 202 is a conventional computersystem executing, for example, a Microsoft Windows-compatible operatingsystem (OS), Apple OS X, and/or a Linux distribution. In anotherembodiment, the user device 202 can be a device having computerfunctionality, such as a personal digital assistant (PDA), mobiletelephone, smart-phone, wearable device, etc. The user device 202 isconfigured to communicate via network 204. The user device 202 canexecute an application, for example, a browser application that allows auser of the user device 202 to interact with the media contentmanagement system 100. In another embodiment, the user device 202interacts with the media content management system 100 through anapplication programming interface (API) that runs on the nativeoperating system of the user device 202, such as iOS and ANDROID.

In one embodiment, the network 204 uses standard communicationstechnologies and/or protocols. Thus, the network 204 can include linksusing technologies such as Ethernet, 802.11, worldwide interoperabilityfor microwave access (WiMAX), 3G, 4G, CDMA, digital subscriber line(DSL), etc. Similarly, the networking protocols used on the network 204can include multiprotocol label switching (MPLS), the transmissioncontrol protocol/Internet protocol (TCP/IP), the User Dacontentassociationram Protocol (UDP), the hypertext transport protocol (HTTP),the simple mail transfer protocol (SMTP), and the file transfer protocol(FTP). The data exchanged over the network 204 can be represented usingtechnologies and/or formats including the hypertext markup language(HTML) and the extensible markup language (XML). In addition, all orsome of links can be encrypted using conventional encryptiontechnologies such as secure sockets layer (SSL), transport layersecurity (TLS), and Internet Protocol security (IPsec).

FIG. 2 contains a block diagram of the media content management 100. Themedia content management system 100 includes a media content store 122,an unprocessed content store 216, a search interface module 124, apreprocessing module 106, a content encoding optimization module 110, acontent validation module 118, a dynamic keyboard interface module 208,a web server 210, a dynamic keyboard presentation module 212, and acontent loading module 214. In other embodiments, the media contentmanagement system 100 may include additional, fewer, or differentmodules for various applications. Conventional components such asnetwork interfaces, security functions, load balancers, failoverservers, management and network operations consoles, and the like arenot shown so as to not obscure the details of the system.

The web server 210 links the media content management system 100 via thenetwork 204 to one or more user devices 202; the web server 210 servesweb pages, as well as other web-related content, such as Java, Flash,XML, and so forth. The web server 210 may provide the functionality ofreceiving and routing messages between the media content managementsystem 100 and the user devices 202, for example, instant messages,queued messages (e.g., email), text and SMS (short message service)messages, or messages sent using any other suitable messaging technique.The user can send a request to the web server 210 to upload information,for example, images or media content are stored in the media contentstore 122. Additionally, the web server 210 may provide APIfunctionality to send data directly to native user device operatingsystems, such as iOS, ANDROID, webOS, and RIM.

A content loading module 214 may automatically load one or moreuncompressed content items 104 to the media content management system100 and store them in an unprocessed content store 216. In oneembodiment, third-party applications 206 may be used to perform theloading functionality called by the content loading module 214. Inanother embodiment, a content loading module 214 may use variousopen-source tools, such as FFMPEG, to load content items to the mediacontent management system 100.

A content validation module 118 may automatically select a validatedcompressed content item 120 from a candidate set of variations of acontent item, as described with respect to FIG. 1A. For example, machinelearning techniques may be used by the content validation module 118 toan optimal content item having an optimal file size reduction andoptimal visual threshold variance. Machine learning techniques such asregression analysis may use user feedback data, such as up/down votes,to classify variations of the content item and tune the optimal filesize reduction and visual quality variance values for the parametersinputs, in one embodiment. In an embodiment, the content validationmodule 118 may identify one or more media content sources 102, such asmovie studios, movies, television studios, television shows, actors,genres, and so forth. In another embodiment, the content validationmodule 118 may assign a separate visual quality variance threshold forcertain media content sources 102 based on whether the content issponsored content. As a result, a higher visual quality content item maybe selected and used as the validated compressed content item 120 forsponsored content items based on an analysis of the image frames withinthe uncompressed content item 104.

In yet another embodiment, the content validation module 118 may use oneor more computer vision techniques and other image processing methodsthrough various third party applications 206 to analyze the image frameswithin the uncompressed content item 104 to automatically generate oneor more parameter inputs 108, as described above with respect to FIG.1A. In one embodiment, the content validation module 118 may utilize oneor more third party applications 206 to analyze image frames of thecandidate set variations of the content item 116 to automaticallydetermine visual quality variances in comparison to the uncompressedcontent item 104.

A search interface module 124 may manage search requests and/or searchqueries for validated compressed content items 120 in the media contentmanagement system 100 received from user devices 202, in an embodiment.A search query may be received at the search interface module 124 andprocessed, in one embodiment. In another embodiment, a search interfacemodule 124 may receive a request for a collection from a user device 202based on a user interface selection in the dynamic keyboard interface128, such as “#HAPPY,” “#RUDE,” “#FOMO,” and so forth as a result of aselection of an animated key or a text search. The search interfacemodule 128 may communicate the search query to the search engine in thesearch interface module 124 to process the request, in an embodiment.

A dynamic keyboard interface module 208 may manage interfacecommunications between the media content management system 100 and userdevices 202. For example, the dynamic keyboard interface 128, asillustrated in FIG. 1B, may include a menu selection element thatenables the searching user to view trending media content on the mediacontent management system 100. “Trending” media content may includefrequently viewed and/or frequently shared content by users of the mediacontent management system 100. The dynamic keyboard interface module 208may receive the request for trending media content and retrievecompressed content items 126 from the media content store 122 that havethe highest number of shares in the past hour, for example. The dynamickeyboard interface module 208 may then, through the dynamic keyboardpresentation module 212, provide the retrieved trending media contentitems to the dynamic keyboard interface 128 through the dynamic keyboardapplication 130, in one embodiment. The dynamic keyboard presentationmodule 212 may determine how the media content items are presented andin what order, for example. In one embodiment, if no media content itemssatisfy a search query or request from a user device, the dynamickeyboard interface module 208 may, in conjunction or in coordinationwith the search interface module 124, deliver other media content items104 that are popular or have been shared. In one embodiment, contentitems may be selected by the dynamic keyboard interface module 208 fromthird party applications 206 (or websites), such as TUMBLR, to beincluded in the search results or animated keys of the dynamic keyboardinterface 128.

A heuristics engine may be included in a content validation module 118and may include one or more heuristics rules to determine one or moreoutcomes. For example, the content validation module 118 may use theheuristics engine to determine a ranking of candidate variations of thecontent item 116 based on the visual quality variance threshold 112 andthe file size reduction factor 114. Various heuristic rules may beassociated with one or both of the visual quality variance threshold 112and the file size reduction factor 114, such as prioritizing highervisual quality for sponsored content and/or select media content sources102, prioritizing larger file reduction size for frequently sharedand/or viral content, and so forth. Various heuristic rules may begenerated by administrators to automatically validate and/or selectcompressed content items based on the visual quality variance threshold112 and the file size reduction factor 114, in one embodiment. Inanother embodiment, heuristic rules may also use ranges of values forthe visual quality variance threshold 112 and the file size reductionfactor 114. For example, thirty past selections of a media content itemfor sharing by a particular user may be used in a heuristic rule tocompress the same media content item for other users that have similarcharacteristics to the particular user of the media content managementsystem 100. The range here may be defined as a threshold number ofshares, for example.

Preprocessing Content Items

FIG. 3 is a high-level block diagram of a system for optimizingpreprocessing of media content in a media content management system,according to an embodiment. An uncompressed content item 104 includes aplurality of frames 304 over a time scale 302 and color map data 306. Asillustrated in FIG. 3, the uncompressed content item 104 includesexample screenshots of two frames of the uncompressed content item 104.A preprocessing module 106 may receive the uncompressed content item104. The preprocessing module 106 includes a color map module 308, apixel color value analyzer module 310, and a color differenceoptimization module 312.

As part of the procurement process, media content items may bepre-processed before being stored in the media content store 122. Thisenables the content items to be retrieved quickly and renderedseamlessly in the dynamic keyboard interface 128 on a user device.Pre-processing of uncompressed content items 104 may include reducingpixel count, modifying resolution definition, and other file sizereduction techniques. Beneficially, pre-processing of media contentitems enables a dynamic keyboard interface 128, presented to a user on auser device, to render at least two renderings of at least two mediacontent items in animation and to display them concurrently in thedynamic keyboard interface 128. In an embodiment, the media contentmanagement system 100 may use a third party application 206, such asFFmpeg, to load an uncompressed content item 104. The preprocessing ofthe uncompressed content item 104 may decode the content item 104 intodecoded frames 304.

As an uncompressed content item 104 is received in the media contentmanagement system 100 from a media content source 102, the preprocessingmodule 106 may analyze one or more components of the uncompressedcontent item 104. For example, an uncompressed content item 104 from thetelevision show, “FRIENDS,” may be automatically analyzed to determinethe color map data 306 associated with the uncompressed content item104. In one embodiment, a color map module 308 of the preprocessingmodule 106 may retrieve and analyze the color map data 306 associatedwith the uncompressed content item 104. In another embodiment, a colormap module 308 may use a third party application 206 to determine colormap data 306 to be associated with the uncompressed content item 104.Color map data 306 may include a map of color values of each frame 304in the uncompressed content item 104, in one embodiment.

A pixel color value analyzer module 308 may identify, for each frame 304in the uncompressed content item 104, a color value for each pixel ineach frame 304. A color value for each pixel may be an eight-bit (8-bit)value for each channel, red, blue, and green (RGB model), in oneembodiment. As a result, there are 256 values for each channel, or a24-bit range of color values for MPEG and JPEG data files. For higherquality color values, the pixel color value analyzer module 308 mayreduce the color gamut of the image by assigning the closest color valuefor each pixel. GIF files, in contrast have 256 colors (8-bit). The best256 colors for a frame are included in a color map, in one embodiment,as stored in color map data 306.

A color difference optimization module 312 may analyze each frame 304 ofthe uncompressed content item 104, pixel by pixel, to determine adifference in color value, in one embodiment. If the difference in colorvalue for a pixel, across the time scale 302 among the frames 304, isless than a predetermined threshold, the difference is eliminated to usethe same color value for the pixel across the time scale 302 among theframes 304. In another embodiment, the differences in color values areoptimized from frame to frame for each pixel. The color differenceoptimization module 312 may change the mapping of the color values inthe color map data 306 to form a new mapping of color values for areduced color map data 316 to be associated with a preprocessed contentitem 314. The benefits of the reduced color map data 316 may be areduction in the file size of the content item 104.

FIG. 4 is a high-level block diagram of a system for optimizing encodingof media content in a media content management system, according to someexamples. A content encoding optimization module 110 may include acontent parameter determining module 402, a content variation module404, and a grid search optimization algorithm 406. The content encodingoptimization module 110 may operate in conjunction with or include otherfunctions to aide in determining parameters for a preprocessed contentitem 314, in one embodiment. The output of the content encodingoptimization module 110 may include variations of the content item 116that are input to a content validation module 118 that includes acandidate selection module 408 and a candidate selection interfacemodule 410. The content validation module 118 may then generate at leastone validated compressed content item 120 to be stored in a mediacontent store 122.

A content encoding optimization module 110 may use a content parameterdetermining module 402, a content variation module 404, and a gridsearch optimization algorithm 406 to optimize the process of encoding ofcontent items in a GIF file, in an embodiment. A content parameterdetermining module 402 may determine one or more parameter inputs 108,such as a noise parameter, smoothness parameter to detect jitter in acontent item, sharpness parameter to detect detail in frame images, andcolor fidelity parameter, associated with a preprocessed content item314, for example. In one embodiment, a content encoding optimizationmodule 110 may determine one or more parameter inputs 108 that areassociated with a received uncompressed content item 104.

A content variation module 404 may generate a variant of theuncompressed content item 104 based on the one or more parameter inputs108. For example, a grid of variants may be generated. For example, ifthere are five parameter inputs 108, a five-dimensional grid of variantsmay be generated. The number of variants may be optimized using a gridsearch optimization algorithm 406. In machine learning, a grid searchoptimization algorithm 406 may be used to do an exhaustive search of agrid of selected parameters. Parameters may include one or more ofsharpness, smoothness, color fidelity, and noise quality. Usingdifferent values of the parameters, multiple variations of the contentitem, or variants, may be generated. For example, if there are fiveparameters, a five dimensional matrix may be generated in associationwith the uncompressed content item 104, where the matrix includes uniquevalues associated with the parameters. The grid search optimizationalgorithm 406 may, using the values of the five dimensional matrix,train a machine learning classifier with each 5-value combination in aproduct of the five sets and evaluate their performance on a held-outvalidation set. Finally, the grid search optimization algorithm 406outputs the settings that achieved the highest score in the validationprocedure. The highest score, or range of scores, that is achieved for aselected 5-value combination may be a range of values, in one example.For example, a visual quality variance threshold 112 may include one ormore values that enable comparison of a compressed content item and anuncompressed content item, such as sharpness, smoothness, colorfidelity, and noise quality. A threshold value may be predeterminedbased on the perceptibility of visual quality, as determined byadministrators of the media content management system 100. For example,a 5% change in smoothness may be imperceptible to most users of themedia content management system 100, but a 10% change in noise qualitymay be perceptible by humans. A file size reduction factor 114 and avisual quality variance threshold 112 may be used by the grid searchoptimization algorithm 406 in one embodiment to establish localminimum(s) and/or local maximum(s), thus limiting the number ofvariants.

A content validation module 118 includes a candidate selection module408 and a candidate selection interface module 410 to validate acompressed content item from a candidate set of variations of thecontent item 116. A candidate selection module 408 may use one or moremachine learning techniques and/or heuristic rules to select an optimalcontent item based on an optimal set of parameter inputs. In oneembodiment, a higher image quality may be required for a content itembased on the content item being sponsored by an advertiser. As a result,the optimal set of parameter inputs for the sponsored content item maydiffer from a non-sponsored content item. In another embodiment,reducing the file size of the content item may be the more prioritizedfactor to deliver a more engaging user experience. A smaller file sizemay increase the use of the dynamic interface 128 because the compressedcontent item will be easier to download, copy, and share among messagingplatforms. Machine learning techniques such as regression analysis maybe used on user interactions with different content items that havedifferent parameter inputs 108 to determine an optimal set of parameterinputs, in one embodiment. In another embodiment, a candidate selectioninterface module 410 may provide a user interface for manual selectionof a validated compressed content item 120 by one or more administratorsof the media content management system 100. Various methods of selectionmay be used by the candidate selection interface module 410, includingselection from a user interface, voting mechanisms, and/or comparisonmechanisms to select a validated compressed content item 120 from thecandidate set of variations/variants of the content item 116.

FIG. 5 is an example flowchart of a process for optimizing encoding ofmedia content in a media content management system, according to someexamples. An uncompressed content item is received 500 from a mediacontent source. For example, an uncompressed content item may include aMPEG file or movie file. The uncompressed content item is received 500at a media content management system 100 through one or more loadingand/or preprocessing applications accessible by the media contentmanagement system 100. The uncompressed content item may be stored in acache memory, in one embodiment, as it is received 500.

One or more parameters associated with the uncompressed content item aredetermined 502. For example, parameters such as a noise parameter, asmoothness parameter, a sharpness parameter, a color fidelity parameter,a brightness parameter, and/or other image quality parameters may bedetermined 502 using one or more image analyzing applications and/ormodules accessible by the media content management system 100. In oneembodiment, the one or more parameters associated with the uncompressedcontent item are determined 502 by identifying metadata associated withthe content item after decoding packets and/or analyzing decoded imageframes that comprise the content item.

A plurality of variants of the uncompressed content item are generated504, where the plurality of variants include one or more compressedcontent items. The plurality of variants are generated 504 by using theone or more parameters to generate differing variants of the contentitem by changing the values of each of the one or more parameters foreach variant. As a result, the file size of each variant may be reducedor otherwise compressed. A candidate set comprising the one or morecompressed content items from the plurality of variants may bedetermined 506 using one or more filtering factors. For example,filtering factors may include a file size reduction factor/thresholdpercentage reduction. As another example, a filtering factor may includea visual quality variance threshold, such as minimizing the color valuedifferential for a majority of pixels in each frame by having a floorcolor differential (e.g., 5% color value differential). Other types offiltering factors may be used as rules and/or programmed byadministrators of the media content management system 100.

A validated compressed content item is selected 508 from the candidateset based on one or more validation criteria. In one embodiment, thevalidated compressed content item is selected 508 by one or moreadministrators of the media content management system 100 through a userinterface. In another embodiment, computer vision and/or machinelearning techniques may be used to select an optimal content item basedon one or more validation criteria, such as meeting a threshold variancein visual quality in comparison to the uncompressed content item 104 andmeeting a threshold requirement in file size reduction. The validatedcompressed content item is then stored 510 in a database in a mediacontent management system.

FIG. 6 is an example flowchart of a process for optimizing preprocessingof media content in a media content management system, according to someexamples. An uncompressed content item comprising a plurality of framesis received 600 from a media content source. Data representing a colormap associated with the plurality of frames of the uncompressed contentitem is determined 602. In one embodiment, the data representing thecolor map is determined 602 based on identifying the color map data as ametadata attribute of the decoded uncompressed content item. In anotherembodiment, the data representing the color map is determined 602 usingone or more applications and/or modules accessible by the media contentmanagement system 100 to analyze a mapping of color values for eachpixel of each frame of the plurality of frames. In a further embodiment,a color map may be determined 602 for each frame. In yet a furtherembodiment, a color map may be determined 602 for the plurality offrames of the uncompressed content item.

For each frame of the plurality of frames, a plurality of color valuesassociated with a plurality of pixels of the each frame are generated604. Color values, or color spaces, may be generated 604 based on thecolor map data, in one embodiment. In another embodiment, the pluralityof color values associated with a plurality of pixels of each frame ofthe plurality of frames may include all pixels of the frames. In afurther embodiment, a sampling of the pixels may be used as theplurality of pixels for each frame. In yet another embodiment, asampling of all frames of the uncompressed content item may be used asthe plurality of frames.

For each pixel in each frame, a subset of the plurality of color valuesare compared 606 to determine a color difference value. A pixel locatedin the same position across the plurality of frames that make up thecontent item may have one or more color values. A color difference valuemay include one or more difference values based on the changes in thecolor value of that pixel. The “motion” of the images and/or frames maythus be attributed to dramatic differences in color values for thepixels in the frames. However, a number of pixels may experience littleor no difference in color value, thus the corresponding images mayappear static in the movie file content item.

Data representing a new color map associated with the plurality offrames may be determined 608 based on the color difference valueassociated with each pixel in each frame. For those pixels thatexperience little or no difference in color value, corresponding to the“static” images in the content file, a new color mapping data may bedetermined 608 to reduce the file size of the content item. For example,a threshold level of color difference value (e.g., a level below whichis imperceptible to the human eye) may be used to distinguish “static”images and “dynamic” or moving images as related to the pixelcorresponding to the images. This elimination of color map data resultsin a large compression of the content item without sacrificing visualquality. The data representing the new color map is then stored 610 inassociation with the uncompressed content item to form a compressedcontent item in a database in a media content management system. Thecompressed content item is reduced in file size based on the smallercolor map data. In one embodiment, this process may be implemented by apreprocessing module of the media content management system 100 and mayoperate in conjunction with the optimized encoding process describedabove with respect to FIG. 5.

FIG. 7 illustrates an exemplary computing platform disposed in a deviceconfigured to optimize processes for compressing media content in amedia content management system 100 in accordance with variousembodiments. In some examples, computing platform 700 may be used toimplement computer programs, applications, methods, processes,algorithms, or other software to perform the above-described techniques.

In some cases, computing platform can be disposed in wearable device orimplement, a mobile computing device 790 b, or any other device, such asa computing device 790 a.

Computing platform 700 includes a bus 704 or other communicationmechanism for communicating information, which interconnects subsystemsand devices, such as processor 706, system memory 710 (e.g., RAM, etc.),storage device 708 (e.g., ROM, etc.), a communication interface 712(e.g., an Ethernet or wireless controller, a Bluetooth controller, etc.)to facilitate communications via a port on communication link 714 tocommunicate, for example, with a computing device, including mobilecomputing and/or communication devices with processors. Processor 706can be implemented with one or more central processing units (“CPUs”),such as those manufactured by Intel® Corporation, or one or more virtualprocessors, as well as any combination of CPUs and virtual processors.Computing platform 700 exchanges data representing inputs and outputsvia input-and-output devices 702, including, but not limited to,keyboards, mice, audio inputs (e.g., speech-to-text devices), userinterfaces, displays, monitors, cursors, touch-sensitive displays, LCDor LED displays, and other I/O-related devices.

According to some examples, computing platform 700 performs specificoperations by processor 706 executing one or more sequences of one ormore instructions stored in system memory 710, and computing platform700 can be implemented in a client-server arrangement, peer-to-peerarrangement, or as any mobile computing device, including smart phonesand the like. Such instructions or data may be read into system memory710 from another computer readable medium, such as storage device 708.In some examples, hard-wired circuitry may be used in place of or incombination with software instructions for implementation. Instructionsmay be embedded in software or firmware. The term “computer readablemedium” refers to any tangible medium that participates in providinginstructions to processor 706 for execution. Such a medium may take manyforms, including but not limited to, non-volatile media and volatilemedia. Non-volatile media includes, for example, optical or magneticdisks and the like. Volatile media includes dynamic memory, such assystem memory 710.

Common forms of computer readable media includes, for example, floppydisk, flexible disk, hard disk, magnetic tape, any other magneticmedium, CD-ROM, any other optical medium, punch cards, paper tape, anyother physical medium with patterns of holes, RAM, PROM, EPROM,FLASH-EPROM, any other memory chip or cartridge, or any other mediumfrom which a computer can read. Instructions may further be transmittedor received using a transmission medium. The term “transmission medium”may include any tangible or intangible medium that is capable ofstoring, encoding or carrying instructions for execution by the machine,and includes digital or analog communications signals or otherintangible medium to facilitate communication of such instructions.Transmission media includes coaxial cables, copper wire, and fiberoptics, including wires that comprise bus 704 for transmitting acomputer data signal.

In some examples, execution of the sequences of instructions may beperformed by computing platform 700. According to some examples,computing platform 700 can be coupled by communication link 714 (e.g., awired network, such as LAN, PSTN, or any wireless network, includingWiFi of various standards and protocols, Blue Tooth®, Zig-Bee, etc.) toany other processor to perform the sequence of instructions incoordination with (or asynchronous to) one another. Computing platform700 may transmit and receive messages, data, and instructions, includingprogram code (e.g., application code) through communication link 714 andcommunication interface 712. Received program code may be executed byprocessor 706 as it is received, and/or stored in memory 710 or othernon-volatile storage for later execution.

In the example shown, system memory 710 can include various modules thatinclude executable instructions to implement functionalities describedherein. System memory 710 may include an operating system (“O/S”) 730,as well as an application 732 and/or logic module 750. In the exampleshown, system memory 710 includes a preprocessing module 106 including acolor map module 308, a pixel color value analyzer module 310, and acolor difference optimization module 312, a content validation module118 including a candidate selection module 408 and a candidate selectioninterface module 410. The system memory 710 may also include a searchinterface module 124, a dynamic keyboard interface module 208, a dynamickeyboard presentation module 212, a content encoding optimization module110 including a content parameter determining module 402, a contentvariation module 404, and a grid search optimization algorithm module734. One or more of the modules included in memory 710 can be configuredto provide or consume outputs to implement one or more functionsdescribed herein.

In at least some examples, the structures and/or functions of any of theabove-described features can be implemented in software, hardware,firmware, circuitry, or a combination thereof. Note that the structuresand constituent elements above, as well as their functionality, may beaggregated with one or more other structures or elements. Alternatively,the elements and their functionality may be subdivided into constituentsub-elements, if any. As software, the above-described techniques may beimplemented using various types of programming or formatting languages,frameworks, syntax, applications, protocols, objects, or techniques. Ashardware and/or firmware, the above-described techniques may beimplemented using various types of programming or integrated circuitdesign languages, including hardware description languages, such as anyregister transfer language (“RTL”) configured to designfield-programmable gate arrays (“FPGAs”), application-specificintegrated circuits (“ASICs”), or any other type of integrated circuit.According to some embodiments, the term “module” can refer, for example,to an algorithm or a portion thereof, and/or logic implemented in eitherhardware circuitry or software, or a combination thereof. These can bevaried and are not limited to the examples or descriptions provided.

In some embodiments, a media content management system or one or more ofits components, or any process or device described herein, can be incommunication (e.g., wired or wirelessly) with a mobile device, such asa mobile phone or computing device, or can be disposed therein.

In some cases, a mobile device, or any networked computing device (notshown) in communication with an action alert controller or one or moreof its components (or any process or device described herein), canprovide at least some of the structures and/or functions of any of thefeatures described herein. As depicted in the above-described figures,the structures and/or functions of any of the above-described featurescan be implemented in software, hardware, firmware, circuitry, or anycombination thereof. Note that the structures and constituent elementsabove, as well as their functionality, may be aggregated or combinedwith one or more other structures or elements. Alternatively, theelements and their functionality may be subdivided into constituentsub-elements, if any. As software, at least some of the above-describedtechniques may be implemented using various types of programming orformatting languages, frameworks, syntax, applications, protocols,objects, or techniques. For example, at least one of the elementsdepicted in any of the figure can represent one or more algorithms. Or,at least one of the elements can represent a portion of logic includinga portion of hardware configured to provide constituent structuresand/or functionalities.

For example, a dynamic keyboard presentation module 212 or any of itsone or more components, or any process or device described herein, canbe implemented in one or more computing devices (i.e., any mobilecomputing device, such as a wearable device, an audio device (such asheadphones or a headset) or mobile phone, whether worn or carried) thatinclude one or more processors configured to execute one or morealgorithms in memory. Thus, at least some of the elements in theabove-described figures can represent one or more algorithms. Or, atleast one of the elements can represent a portion of logic including aportion of hardware configured to provide constituent structures and/orfunctionalities. These can be varied and are not limited to the examplesor descriptions provided.

As hardware and/or firmware, the above-described structures andtechniques can be implemented using various types of programming orintegrated circuit design languages, including hardware descriptionlanguages, such as any register transfer language (“RTL”) configured todesign field-programmable gate arrays (“FPGAs”), application-specificintegrated circuits (“ASICs”), multi-chip modules, or any other type ofintegrated circuit.

For example, a media content management system, including one or morecomponents, or any process or device described herein, can beimplemented in one or more computing devices that include one or morecircuits. Thus, at least one of the elements in the above-describedfigures can represent one or more components of hardware. Or, at leastone of the elements can represent a portion of logic including a portionof circuit configured to provide constituent structures and/orfunctionalities.

According to some embodiments, the term “circuit” can refer, forexample, to any system including a number of components through whichcurrent flows to perform one or more functions, the components includingdiscrete and complex components. Examples of discrete components includetransistors, resistors, capacitors, inductors, diodes, and the like, andexamples of complex components include memory, processors, analogcircuits, digital circuits, and the like, including field-programmablegate arrays (“FPGAs”), application-specific integrated circuits(“ASICs”). Therefore, a circuit can include a system of electroniccomponents and logic components (e.g., logic configured to executeinstructions, such that a group of executable instructions of analgorithm, for example, and, thus, is a component of a circuit).According to some embodiments, the term “module” can refer, for example,to an algorithm or a portion thereof, and/or logic implemented in eitherhardware circuitry or software, or a combination thereof (i.e., a modulecan be implemented as a circuit). In some embodiments, algorithms and/orthe memory in which the algorithms are stored are “components” of acircuit. Thus, the term “circuit” can also refer, for example, to asystem of components, including algorithms. These can be varied and arenot limited to the examples or descriptions provided.

Although the foregoing examples have been described in some detail forpurposes of clarity of understanding, the above-described inventivetechniques are not limited to the details provided. There are manyalternative ways of implementing the above-described inventiontechniques. The disclosed examples are illustrative and not restrictive.

The foregoing description of the embodiments of the invention has beenpresented for the purpose of illustration; it is not intended to beexhaustive or to limit the invention to the precise forms disclosed.Persons skilled in the relevant art can appreciate that manymodifications and variations are possible in light of the abovedisclosure.

Some portions of this description describe the embodiments of theinvention in terms of algorithms and symbolic representations ofoperations on information. These algorithmic descriptions andrepresentations are commonly used by those skilled in the dataprocessing arts to convey the substance of their work effectively toothers skilled in the art. These operations, while describedfunctionally, computationally, or logically, are understood to beimplemented by computer programs or equivalent electrical circuits,microcode, or the like. Furthermore, it has also proven convenient attimes, to refer to these arrangements of operations as modules, withoutloss of generality. The described operations and their associatedmodules may be embodied in software, firmware, hardware, or anycombinations thereof.

Any of the steps, operations, or processes described herein may beperformed or implemented with one or more hardware or software modules,alone or in combination with other devices. In one embodiment, asoftware module is implemented with a computer program productcomprising a computer-readable medium containing computer program code,which can be executed by a computer processor for performing any or allof the steps, operations, or processes described.

Embodiments of the invention may also relate to an apparatus forperforming the operations herein. This apparatus may be speciallyconstructed for the required purposes, and/or it may comprise ageneral-purpose computing device selectively activated or reconfiguredby a computer program stored in the computer. Such a computer programmay be stored in a non-transitory, tangible computer readable storagemedium, or any type of media suitable for storing electronicinstructions, which may be coupled to a computer system bus.Furthermore, any computing systems referred to in the specification mayinclude a single processor or may be architectures employing multipleprocessor designs for increased computing capability.

Embodiments of the invention may also relate to a product that isproduced by a computing process described herein. Such a product maycomprise information resulting from a computing process, where theinformation is stored on a non-transitory, tangible computer readablestorage medium and may include any embodiment of a computer programproduct or other data combination described herein.

Finally, the language used in the specification has been principallyselected for readability and instructional purposes, and it may not havebeen selected to delineate or circumscribe the inventive subject matter.It is therefore intended that the scope of the invention be limited notby this detailed description, but rather by any claims that issue on anapplication based hereon. Accordingly, the disclosure of the embodimentsof the invention is intended to be illustrative, but not limiting, ofthe scope of the invention, which is set forth in the following claims.

What is claimed:
 1. A method comprising: receiving an uncompressedcontent item in an media content management system; determining one ormore parameters associated with the uncompressed content item;generating, by a processor, a plurality of variants of the uncompressedcontent item using the one or more parameters, the plurality of variantsincluding one or more compressed content items; determining a candidateset comprising at least one of the one or more compressed content itemsfrom the plurality of variants based on one or more filtering factors;selecting a validated compressed content item from the candidate setbased on one or more validation criteria; and storing the validatedcompressed content item in a database in the media content managementsystem.
 2. The method of claim 1, wherein the uncompressed content itemcomprises a video file and the validated compressed content itemcomprises a graphics interchange format (GIF) file, and whereinselecting a validated compressed content item from the candidate setbased on one or more validation criteria further comprises: determiningthe one or more validation criteria using a machine learning classifierthat outputs an optimal set of parameter values of the one or moreparameters.
 3. The method of claim 1, wherein generating a plurality ofvariants of the uncompressed content item using the one or moreparameters further comprises: using a grid search optimization algorithmto generate the plurality of variants based on the one or moreparameters and a performance metric comprising a set of parameter valuesbased on a previously validated content item.
 4. The method of claim 1,wherein the one or more parameters associated with the uncompressedcontent item comprises a noise parameter.
 5. The method of claim 1,wherein the one or more parameters associated with the uncompressedcontent item comprises a smoothness parameter.
 6. The method of claim 1,wherein the one or more parameters associated with the uncompressedcontent item comprises a sharpness parameter.
 7. The method of claim 1,wherein the one or more parameters associated with the uncompressedcontent item comprises a color fidelity parameter.
 8. The method ofclaim 1, wherein the one or more filtering factors used to determine thecandidate set comprises a file size threshold.
 9. The method of claim 1,wherein the one or more filtering factors used to determine thecandidate set comprises one or more visual quality standards, whereinthe one or more visual quality standards comprise a range of qualityscores based on at least one performance metric.
 10. The method of claim1, wherein generating the plurality of variants of the uncompressedcontent item further comprises: generating a grid comprising theplurality of variants, each variant based on a unique combination of theone or more parameters.
 11. The method of claim 10, wherein thecandidate set comprising at least one of the one or more compressedcontent items is determined using a grid search optimization algorithm.12. A method comprising: receiving, in an media content managementsystem, an uncompressed content item comprising a plurality of frames;determining data representing a color map associated with the pluralityof frames of the uncompressed content item; generating, by a processorfor each frame of the plurality of frames, a plurality of color valuesassociated with a plurality of pixels of the each frame; comparing, bythe processor for each pixel in each frame of the plurality of frames, asubset of the plurality of color values to determine a color differencevalue; determining data representing a new color map associated with theplurality of frames based on the color difference value associated witheach pixel in each frame; and storing the data representing the newcolor map in association with the uncompressed content item to form acompressed content item in a database in the media content managementsystem.
 13. The method of claim 12, wherein the data representing acolor map associated with the plurality of frames is a metadataattribute of the uncompressed content item.
 14. The method of claim 12,wherein the data representing a color map associated with the pluralityof frames is determined based on an analysis of each frame.
 15. Themethod of claim 12, wherein a color difference value is determined as apercentage change in color value among the subset of the plurality ofcolor values associated with each pixel in each frame.
 16. A systemcomprising: a server configured to receive an uncompressed content itemcomprising a plurality of frames; a preprocessing module configured todetermine data representing a color map associated with the plurality offrames of the uncompressed content item, generate a plurality of colorvalues associated with a plurality of pixels in the plurality of frames,and the preprocessing module further configured to determine datarepresenting a new color map based on a plurality of color differencevalues using the plurality of color values; a processor configured todetermine one or more parameters associated with the uncompressedcontent item, to generate a plurality of variants of the uncompressedcontent item using the one or more parameters, the plurality of variantsincluding one or more compressed content items, to determine a candidateset comprising at least one of the one or more compressed content itemsbased on one or more filtering factors, and the processor furtherconfigured to select a validated compressed content item from thecandidate set based on one or more validation criteria; and a databaseconfigured to store, by the processor, the validated compressed contentitem and the data representing the new color map in association with theuncompressed content item.
 17. The system of claim 16, wherein theserver is further configured to receive a search query, retrieve atleast two compressed content items in the database, generate at leasttwo renderings of the at least two compressed content items in animationin response to the received search query, and provide to displayconcurrently the at least two renderings of the at least two compressedcontent items in animation.
 18. The system of claim 16, wherein theprocessor is further configured to determine the candidate setcomprising at least one of the one or more compressed content itemsusing a grid search optimization algorithm.
 19. The system of claim 16,wherein the processor is further configured to generate the plurality ofvariants of the uncompressed content item by generating a gridcomprising the plurality of variants, each variant based on a uniquecombination of the one or more parameters.
 20. The system of claim 16,wherein the preprocessing module is further configured to determine acolor difference value as a percentage change in color value among thesubset of the plurality of color values associated with each pixel ineach frame.